﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KouDai.Core.Service.Navigation
{
    public interface INavigateService
    {
        event EventHandler CanGoBackChanged;

        bool CanGoBack
        {
            get;
        }

        void GoBack();

        void NavigateTo<TViewModel>(object parameter) where TViewModel : NavigateViewModel;
    }
}
